from zope.interface import Interface
# -*- Additional Imports Here -*-
from zope import schema

from my315ok.xtinfocontent import xtinfocontentMessageFactory as _


class Irecruitinfo(Interface):
    """recruit information"""

    # -*- schema definition goes here -*-
    text = schema.SourceText(
        title=_(u"company introduction"),
        required=True,
        description=_(u"company and position introduction"),
    )
#
    worktype = schema.TextLine(
        title=_(u"work type"),
        required=True,
        description=_(u""),
    )
#
    speciality = schema.TextLine(
        title=_(u"speciality"),
        required=False,
        description=_(u""),
    )
#
    education = schema.TextLine(
        title=_(u"education"),
        required=False,
        description=_(u""),
    )
#
    salary = schema.Float(
        title=_(u"salary"),
        required=False,
        description=_(u""),
    )
#
    num = schema.Int(
        title=_(u"recruit number"),
        required=False,
        description=_(u""),
    )
#
    category = schema.TextLine(
        title=_(u"position category"),
        required=False,
        description=_(u""),
    )
#
